#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:4996)
#include"stack.h"
void test() {
    Stack s;
    StackInit(&s);
    StackPush(&s, 1);
    StackPush(&s, 2);
    StackPop(&s);

    while (!StackEmpty(&s)) {
        printf("%d ", StackTTOP(&s));
        StackPop(&s);
    }
}
int main(){
    
    test();
    return 0;
}